home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3832 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.lpr.carel.fi!usenet
  2. From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Access Database HELP
  5. Date: Wed, 31 Jan 1996 15:37:47 +0200
  6. Organization: Carelcomp Forest
  7. Message-ID: <310F70AB.36B8@cmt.lpr.mail.carel.fi>
  8. References: <3104FBC2.2C08@hobbe.adb.gu.se> <4ellh5$c09@airdmhor.gen.nz>
  9. NNTP-Posting-Host: renoir.cclahti.carel.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b6a (WinNT; I)
  14.  
  15. Simon Hosie wrote:
  16. > Peter Bohn:
  17. > > Wanna get access to an accessdatabase with c-code. This is my big
  18. > > problem right now. Using MS Visual C++ latest version.
  19. > > Give me a hint how to do, please.
  20. >   Might I suggest some form of database management language?
  21.  
  22. MSVC contains <sql.h> and <sqlext.h> which are used to define the ODBC (open 
  23. database connectivity) API. Also, ODBC32.LIB and ODBCCP32.LIB are included. If 
  24. you're using MFC, you'd want to try to include <afxdb.h> and use the classes 
  25. CDatabase, CRecordSet etc. There is information of these in the online help and 
  26. the manuals that came with your compiler.
  27.  
  28. Later,
  29. AriL
  30. -- 
  31. All my opinions are mine and mine alone.
  32.